package com.miyu.book.service.bookMagic;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.miyu.book.pojo.BookRuleSet;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;


public interface BookMagicService {

    List<BookRuleSet> queryRuleSet(JSONObject param);

    JSONArray searchBook(JSONObject param);

    JSONObject queryDetailBookList(JSONObject param);

    JSONObject readBook(JSONObject param);

    String downloadFile(JSONObject para);

    JSONObject initBook(JSONObject param);
}
